<h1>Links</h1>
<div id="links">
{section name=lloop loop=$links}
<a href="index.php?mod=links&amp;id={$links[lloop].id}&amp;url={$links[lloop].url|escape:'url'}" target="_blank">{$links[lloop].title}</a> - {$links[lloop].desc}{if $gcms_isadmin} [<a href="index.php?mod=links&amp;id={$links[lloop].id}&amp;action=edit"><img src="./images/pencil2.gif" alt="Edit" /></a>|<a href="index.php?mod=links&amp;id={$links[lloop].id}&amp;action=delete" onclick="return confirm('Really delete?');"><img src="./images/trash.gif" alt="Del" /></a>]{/if}<br />
{/section}
{if $gcms_isadmin}[<a href="index.php?mod=links&amp;action=new">Add New</a>]{/if}
</div>